﻿<usr:UserControlBase x:Class="WPF.TestEditor.Controls.TestStepView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:usr="clr-namespace:WPF.TestEditor.Controls" Style="{DynamicResource usrTestStepView}"
             mc:Ignorable="d"  d:DesignWidth="500" >    
    <Grid Style="{DynamicResource metroGridView}" >
        <Grid.RowDefinitions >
            <RowDefinition Height="30" />
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <StackPanel x:Name="pnlResult" Orientation="Horizontal"  Grid.Column="0" Grid.Row="0" Margin="5 2 5 2" MouseLeftButtonDown="MouseLeftButton_Down" >
            <Image x:Name="pnlResultImage" Width="20" Height="20" VerticalAlignment="Center" HorizontalAlignment="Left"/>
            <TextBlock x:Name="pnlResultText" VerticalAlignment="Center" Margin="2 2 2 2"   Tag="1">
                <TextBlock.Foreground>
                    <SolidColorBrush Color="{DynamicResource AccentColor}" />
                </TextBlock.Foreground>
            </TextBlock>
        </StackPanel>
        <TextBlock x:Name="lblActions" Text="{Binding Action}" VerticalAlignment="Center" Grid.Column="1" Grid.Row="0"  MouseLeftButtonDown="MouseLeftButton_Down" />
        <TextBlock x:Name="lblData" Text="{Binding Data}" VerticalAlignment="Center" Margin="20 0 0 0" FontWeight="UltraLight" Foreground="Goldenrod" Grid.Column="2" Grid.Row="0" MouseLeftButtonDown="MouseLeftButton_Down" />
        <TextBlock x:Name="lblInfo" Text="{Binding OrderNr}" VerticalAlignment="Center"  FontSize="12pt" Grid.Column="3" Grid.Row="0" Margin="5" Foreground="{DynamicResource AccentColorBrush}"/>
        <StackPanel x:Name="pnlMoreInfo" Orientation="Vertical" Margin="20 0 5 20" Visibility="Collapsed" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="4">
            
        </StackPanel>
    </Grid>
    
</usr:UserControlBase>
